<template>
  <div class="home">欢迎使用，python222 通用权限系统 ！</div>
</template>
<script>
import { onMounted } from "vue";
import { getUserList } from "@/api/user";
export default {
  setup() {
    const getUserListFun = async () => {
      console.log(123);

      try {
        let result = await getUserList({ pageNum: 1, pageSize: 10, query: "" });
      } catch (error) {
        console.log(123);
      }
    };
    onMounted(() => {
      getUserListFun();
    });
    return {};
  },
};
</script>
<style lang="scss" scoped>
.home {
  padding: 40px;
  font-size: 30px;
  font-weight: bold;
}
</style>
